<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试上传</title>
    <link href="./style/styleSheet.css" rel="stylesheet" type="text/css">
</head>
<body>
    <h1>图片上传作业</h1>
    <h3>作者：王宁 161250139 南京大学软件学院</h3>
    <h3>采用<span class="specialText">express</span>作为后端服务器，请确保已经启动：<span class="specialText">$ node run run</span> </h3>
    <br><br><br><br><br><br><br>
    <button onclick='login()'>请先用模拟账号登录</button>
    <input id="fileInput" type="file" multiple onchange="preview(this.files)" style="display: none"/>
    <button onclick='selectFile()'>上传图片</button>
    <br><br><br>
    <div id="imgPreview">
        <h2 style="text-align: left;margin-left: 100px">以下是你现在上传的图片</h2>
        <div id="imgContainer"></div>
    </div>
    <br><br><br>
    <button onclick='postImg()'>确认上传</button>
    <button onclick='getImg()'>查看所有我已经上传的图片</button>
    <script type="text/javascript" src="./javascript/htmlJS.js"></script>
    <div id="imgPreviewDown">
        <h3 style="text-align: left;margin-left: 100px">查询结果</h3>
        <div id="imgContainerDown"></div>
    </div>
</body>
</html>
